package com.wego.mapper;

import com.wego.domain.entity.PopularText;
import com.wego.domain.query.PopularTextQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PopularTextMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteByPrimaryKeyIn(String[] ids);

    int insertSelective(PopularText record);

    PopularText selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PopularText record);

    int batchInsert(@Param("list") List<PopularText> list);

    List<PopularText> selectWithCondition(PopularTextQuery popularTextQuery);
}